<?php

/**
 * Main controller
 *
 * @uses       Beaver_Controller_Action
 * @package    Beaver
 * @subpackage Controller
 */

require_once("Beaver/application/controllers/IndexController.php"); 

class IndexController extends Beaver_IndexController
{
	function indexAction()
	{
		parent::indexAction();
		$this->view->headScript()->appendFile(
			"/js/extjs-ux/TabCloseMenu.js",
			"text/javascript"
		);
		$this->view->headScript()->appendFile(
			"/js/extjs-ux/RowEditor.js",
			"text/javascript"
		);
		$this->view->headScript()->appendFile(
			"/js/extjs-ux/App.js",
			"text/javascript"
		);
		$this->view->headScript()->appendFile(
			"/js/ext-fix.js",
			"text/javascript"
		);
		
		$this->view->headLink()->headLink( array(
			"rel"   => "stylesheet",
			"media" => "screen",
			"type"  => "text/css",
			"href"  => "/js/extjs-ux/css/ux-all.css"
		));
	}
}
